Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_SetCastShadowsState

You can use the Q3SpotLight_SetCastShadowsState function to set the shadow-casting state of a spot light.

TQ3Status Q3SpotLight_SetCastShadowsState (
TQ3LightObject light, 
TQ3Boolean castsShadows);
light
A spot light object.
castsShadows
A Boolean value that indicates whether the specified light casts shadows (kQ3True) or does not cast shadows (kQ3False).
DESCRIPTION
The Q3SpotLight_SetCastShadowsState function sets the shadow-casting state of the spot light specified by the light parameter to the Boolean value specified in the castsShadows parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996